/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package POJO;

import java.util.Date;

/**
 *
 * @author Master
 */
public class POJO_NhanVien {
    private String _manv;
    public String GetMaNV(){
        return this._manv;
    }
    public void SetMaNV(String manv){
        this._manv = manv;
    }
    
    private String _tennv;
    public String GetTenNV(){
        return this._tennv;
    }
    public void SetTenNV(String manv){
        this._tennv = manv;
    }
    private String _cmnd;
    public String GetCMND(){
        return this._cmnd;
    }
    public void SetCMND(String manv){
        this._cmnd = manv;
    }
    
    private String _gioitinh;
    public String GetGioiTinh(){
        return this._gioitinh;
    }
    public void SetGioiTinh(String manv){
        this._gioitinh = manv;
    }
    
    private Date _ngaysinh;
    public Date GetNgaySinh(){
        return this._ngaysinh;
    }
    public void SetNgaySinh(Date ngaysinh){
        this._ngaysinh = ngaysinh;
    }
    
    private String __diachi;
    public String GetDiaChi(){
        return this.__diachi;
    }
    public void SetDiaChi(String diachi){
        this.__diachi = diachi;
    }
    
    private String _dienthoai;
    public String GetDienThoai(){
        return this._dienthoai;
    }
    public void SetDienThoai(String manv){
        this._dienthoai = manv;
    }
    
    private Date _ngaybatdau;
    public Date GetNgayBD(){
        return this._ngaybatdau;
    }
    public void SetNgayBD(Date manv){
        this._ngaybatdau = manv;
    }

    public POJO_NhanVien() {
        this._manv = "";
        this._tennv = "";
        this._cmnd = "";
        this._gioitinh = "";
        this._ngaysinh = new Date();
        this.__diachi = "";
        this._dienthoai = "";
        this._ngaybatdau = new Date();
    }

    public POJO_NhanVien(String _manv, String _tennv, String _cmnd, String _gioitinh, Date _ngaysinh, String __diachi, String _dienthoai, Date _ngaybatdau) {
        this._manv = _manv;
        this._tennv = _tennv;
        this._cmnd = _cmnd;
        this._gioitinh = _gioitinh;
        this._ngaysinh = _ngaysinh;
        this.__diachi = __diachi;
        this._dienthoai = _dienthoai;
        this._ngaybatdau = _ngaybatdau;
    }

    @Override
    public String toString() {
        return this._manv;
    }
}
